//
//  Notification.swift
//  YOKO
//
//  Created by 鲁浩 on 16/5/10.
//  Copyright © 2016年 15Tec. All rights reserved.
//

import Foundation
import RealmSwift

class Alarm: Object {
    
    override static func primaryKey() -> String? {
        return "alarmId"
    }
    
    dynamic var fireDate : NSDate? = nil
    
    dynamic var eventId : String = ""
    
    dynamic var eventTitle : String? = nil
    
    dynamic var isWholeDay : Bool = false
    
    dynamic var wholeDayAlarmCount : Int = 0
    
    //这里是eventId+事件的第几个提醒
    dynamic var alarmId : String? = nil
    
    dynamic var isSetted : Bool = false
    
}
